package com.hskn.hss.module.userrole.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 用户角色表
 * </p>
 *
 * @author hskn
 * @since 2021-04-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "sys_user_role")
public class SysUserRole implements Serializable {

    private String id;

    /**
     * 用户id
     */
    private String userid;

    /**
     * 角色id
     */
    private String roleid;

    public SysUserRole() {
    }

    public SysUserRole(String id, String userid, String roleid) {
        this.id = id;
        this.userid = userid;
        this.roleid = roleid;
    }
}
